﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostFiles.aspx.cs" Inherits="Web.PostFiles" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>上传文件</title>
    <link href="css/minicss.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id='block'>
        <div id='blocktitle'>基本信息</div>
        <div id='blockcontent' class="uppic">
            <p><label for="Name">名称：</label><asp:TextBox ID="Name" runat="server"></asp:TextBox></p>
             <p><label for="FileUpload1">选择图片：</label><asp:DropDownList ID="SubjectList" runat="server"></asp:DropDownList></p>
        </div>
        <%if (editid==0) {%>
       <div id='blocktitle'>选择文件</div>
        <div id='blockcontent' class="uppic">
        <p style="text-align:center"><asp:FileUpload ID="FileUpload1" runat="server" /></p>
        </div>
        <% }%>
        <div id='blockfloor' style="text-align:center">
            <asp:Button ID="Button1" runat="server" Text="保 存" OnClick="Button1_Click" 
                style="padding:5px 10px 3px;" /></div>
    </div>
    </form>
</body>
</html>
